package com.vxdata.common.utils.逆向工程.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 分页查询条件
 */
@Data
public class ReligionReportQvo {

    @ApiModelProperty(value = "类型(0-群众 1-工作人员)")
    private Integer type;

    @ApiModelProperty(value = "举办地点", notes = "like")
    private String addres;

    @ApiModelProperty(value = "疑似活动", notes = "like")
    private String suspectedActivity;

    @ApiModelProperty(value = "所属街道")
    private Long streetId;

    @ApiModelProperty(value = "所属社区")
    private Long communityId;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询条件: 举办时间开始时间", notes = "time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime startTime;

    @TableField(exist = false)
    @ApiModelProperty(value = "查询条件: 举办时间结束时间", notes = "time")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime endTime;


    @ApiModelProperty(value = "审核状态 (0-待审核, 1-真实, 2-有误, 3-待确认) 字典: audit_status")
    private String auditStatus;

    @ApiModelProperty(value = "上报方式 (上报录入才有值) 字典: reporting_type")
    private String reportingType;

    @TableField(exist = false)
    @ApiModelProperty(value = "当前页号", required = true)
    private Long pageNum;

    @TableField(exist = false)
    @ApiModelProperty(value = "每页长度", required = true)
    private Long pageSize;
}
